package com.travel.server.manager.dao;

import com.travel.server.manager.model.QuestionnaireInfo;
import com.travel.server.manager.model.QuestionnaireInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface QuestionnaireInfoDao {
    int countByExample(QuestionnaireInfoExample example);

    int deleteByExample(QuestionnaireInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(QuestionnaireInfo record);

    int insertSelective(QuestionnaireInfo record);

    List<QuestionnaireInfo> selectByExample(QuestionnaireInfoExample example);

    QuestionnaireInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") QuestionnaireInfo record, @Param("example") QuestionnaireInfoExample example);

    int updateByExample(@Param("record") QuestionnaireInfo record, @Param("example") QuestionnaireInfoExample example);

    int updateByPrimaryKeySelective(QuestionnaireInfo record);

    int updateByPrimaryKey(QuestionnaireInfo record);
}